package com.longcheng.study.controller;

import com.longcheng.study.SchedualService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author totoro.
 * @description .
 * @date 2021/09/22.
 */
@RestController
public class ConsumerController {
    @Autowired
    private SchedualService schedualService;

    @GetMapping("/hi")
    public String hiFeign(){
        return schedualService.hello("feign");
    }

}
